package com.codebyorder.req;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class UserSaveReq {
    private Long id;

    @NotBlank(message = "【登录名】不能为空")
    private String loginName;

    @NotNull(message = "【昵称】不能为空")
    private String name;

    private String password;
}